import request from '@/utils/request'

//查询质检主表列表
export function list(data) {
    return request({
      url: 'checkHead2/list',
      method: 'get',
      data
    })
  }
//保存质检主表
export function create(data) {
  return request({
    url: '/checkHead2/create',
    method: 'post',
    data
  })
}

//更新质检主表
export function update(data) {
    return request({
      url: '/checkHead2/update',
      method: 'post',
      data
    })
  }

//删除质检主表
export function Delete(data) {
    return request({
      url: `checkHead2/delete//${data.fsampleno}`,
      method: 'delete',
    })
  }